﻿using System.Collections.Generic;
using Web7.Core.Security;
using System;

namespace Web7.Container.Models
{
    public class OwnerPermissionRecord<T>
    {
        public T Owner { get; set; }

        public IList<PermissionRecord> OwnerPermissionRecords { get; set; }

        public IList<Permission> PermissionRecords { get; set; }
    }

    public class OwnerPermissionRecordContent
    {
        public PermissionOwnerType OwnerType { get; set; }

        public Guid ID { get; set; }

        public object Content { get; set; }

    }
}
